\doxysection{People.\+h}
\label{_people_8h_source}\index{D:/Data/gitee/Mahjong01/People.h@{D:/Data/gitee/Mahjong01/People.h}}
\textbf{ 浏览该文件的文档.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{2 \textcolor{preprocessor}{\#include <vector>}}
\DoxyCodeLine{3 \textcolor{preprocessor}{\#include "{}Mahjong.h"{}}}
\DoxyCodeLine{4 }
\DoxyCodeLine{5 \textcolor{keyword}{class }People}
\DoxyCodeLine{6 \{}
\DoxyCodeLine{7     }
\DoxyCodeLine{8 \textcolor{keyword}{public}:}
\DoxyCodeLine{9     \textcolor{keywordtype}{void} TouchesFaceNumberIncrease();              \textcolor{comment}{//易感者触摸面部粘膜次数增加}}
\DoxyCodeLine{10     \textcolor{keywordtype}{void} TouchesContaminatedMahjongNumberIncrease(); \textcolor{comment}{//手部已触摸被污染的麻将的次数增加}}
\DoxyCodeLine{11 }
\DoxyCodeLine{12     \textcolor{keywordtype}{void} PrintTouchesFaceNumber();}
\DoxyCodeLine{13     \textcolor{keywordtype}{void} PrintTouchesContaminatedMahjongNumber();}
\DoxyCodeLine{17 \textcolor{keyword}{private}:}
\DoxyCodeLine{18     \textcolor{keywordtype}{float} Propagates = 0;             }
\DoxyCodeLine{19     \textcolor{keywordtype}{float} InfectedProbability = 0;       }
\DoxyCodeLine{20 }
\DoxyCodeLine{21     \textcolor{keywordtype}{int} TouchesFaceNumber = 0;                 \textcolor{comment}{//易感者触摸面部粘膜次数}}
\DoxyCodeLine{22     \textcolor{keywordtype}{int} TouchesContaminatedMahjongNumber = 0;   \textcolor{comment}{//手部已触摸被污染的麻将的次数}}
\DoxyCodeLine{23     \textcolor{keywordtype}{bool} HavingMask = 0;              }
\DoxyCodeLine{24     \textcolor{keywordtype}{float} VirusLoad = 0;               }
\DoxyCodeLine{25     }
\DoxyCodeLine{26     \textcolor{keywordtype}{int} ReactionRate = -\/1;              }
\DoxyCodeLine{27     People* after = \textcolor{keyword}{nullptr};         }
\DoxyCodeLine{28     People* front = \textcolor{keyword}{nullptr};         }
\DoxyCodeLine{29     \textcolor{keywordtype}{int} ID = -\/1;                      }
\DoxyCodeLine{30     \textcolor{keywordtype}{int} State = 0;                     }
\DoxyCodeLine{31 }
\DoxyCodeLine{35 \textcolor{keyword}{private}:}
\DoxyCodeLine{36     \textcolor{keywordtype}{int} KeZi = 0;   }
\DoxyCodeLine{37     \textcolor{keywordtype}{int} ShunZi = 0;   }
\DoxyCodeLine{38     \textcolor{keywordtype}{int} DuiZi = 0; }
\DoxyCodeLine{39     \textcolor{keywordtype}{int} GangZi = 0;   }
\DoxyCodeLine{40 }
\DoxyCodeLine{41 }
\DoxyCodeLine{45 \textcolor{keyword}{public}:}
\DoxyCodeLine{53     People(\textcolor{keywordtype}{float} i1,\textcolor{keywordtype}{float} i2,\textcolor{keywordtype}{bool} mask,\textcolor{keywordtype}{int} reaction);}
\DoxyCodeLine{58     \textcolor{keywordtype}{bool} getHavingMask();}
\DoxyCodeLine{63     \textcolor{keywordtype}{void} setID(\textcolor{keywordtype}{int} i);}
\DoxyCodeLine{68     \textcolor{keywordtype}{void} setAfter(People* \textcolor{keyword}{const} x);}
\DoxyCodeLine{73     \textcolor{keywordtype}{void} setFront(People* \textcolor{keyword}{const} x);}
\DoxyCodeLine{74 }
\DoxyCodeLine{79     People* After();}
\DoxyCodeLine{84     People* Front();}
\DoxyCodeLine{89     \textcolor{keywordtype}{float} GetPropagates();}
\DoxyCodeLine{90 }
\DoxyCodeLine{95     \textcolor{keywordtype}{float} GetInfected();}
\DoxyCodeLine{96 }
\DoxyCodeLine{101     \textcolor{keywordtype}{void} SetVirus(\textcolor{keywordtype}{int} a);}
\DoxyCodeLine{106     \textcolor{keywordtype}{float} GetVirus();}
\DoxyCodeLine{107     \textcolor{keywordtype}{void} AirDissemination(\textcolor{keywordtype}{float} AirVirusLoad);}
\DoxyCodeLine{108 }
\DoxyCodeLine{112 \textcolor{keyword}{public}:}
\DoxyCodeLine{113     std::vector<Mahjong> Hand;}
\DoxyCodeLine{114     std::vector<Mahjong> OpenDeal;}
\DoxyCodeLine{115     \textcolor{keywordtype}{void} AddCard(Mahjong \&card);  }
\DoxyCodeLine{116     \textcolor{keywordtype}{void} AddDeal(Mahjong \&card);}
\DoxyCodeLine{117     Mahjong OutCard();            }
\DoxyCodeLine{118     \textcolor{keywordtype}{void} CardSort();    }
\DoxyCodeLine{119     \textcolor{keywordtype}{void} QSort(\textcolor{keywordtype}{int} s, \textcolor{keywordtype}{int} t);}
\DoxyCodeLine{120     \textcolor{keywordtype}{bool} Compare(Mahjong\& a, Mahjong\& b);}
\DoxyCodeLine{121     \textcolor{keywordtype}{bool} CanHu(Mahjong\& a);}
\DoxyCodeLine{122     \textcolor{keywordtype}{bool} CanChi(std::vector<Mahjong>\& Tmp, Mahjong\& a);}
\DoxyCodeLine{123     \textcolor{keywordtype}{bool} CanChi(Mahjong\& a);}
\DoxyCodeLine{124     \textcolor{keywordtype}{bool} CanGang(Mahjong\& a);}
\DoxyCodeLine{125     \textcolor{keywordtype}{bool} CanPeng(Mahjong\& a);}
\DoxyCodeLine{126     \textcolor{keywordtype}{int} ShouldAct(Mahjong\& a);}
\DoxyCodeLine{127 }
\DoxyCodeLine{128     \textcolor{keywordtype}{void} Act(\textcolor{keywordtype}{int} type, Mahjong\& a);}
\DoxyCodeLine{129     \textcolor{keywordtype}{void} Hu(Mahjong\& a);}
\DoxyCodeLine{130     \textcolor{keywordtype}{void} Chi(Mahjong\& a);}
\DoxyCodeLine{131     \textcolor{keywordtype}{void} Gang(Mahjong\& a);}
\DoxyCodeLine{132     \textcolor{keywordtype}{void} Peng(Mahjong\& a);}
\DoxyCodeLine{133 }
\DoxyCodeLine{134 }
\DoxyCodeLine{135 }
\DoxyCodeLine{136     \textcolor{keywordtype}{int} GetHuProbability(Mahjong\& a);}
\DoxyCodeLine{137     \textcolor{keywordtype}{void} NumberClear();}
\DoxyCodeLine{138 }
\DoxyCodeLine{139     \textcolor{keywordtype}{void} PrintInfectedProbability();}
\DoxyCodeLine{140     \textcolor{keywordtype}{void} PrintHandCard();}
\DoxyCodeLine{141     \textcolor{keywordtype}{void} PrintMyMessage();}
\DoxyCodeLine{142 \};}
\DoxyCodeLine{143 }

\end{DoxyCode}
